import { Injectable } from '@nestjs/common';
import { Cron, CronExpression } from '@nestjs/schedule';
import ILogger from '@/services/logger.service';
import { DbService } from '@/db/db.service';

@Injectable()
export class ScheduleService {
  constructor(private readonly dbService: DbService) {}

  @Cron(CronExpression.EVERY_3_HOURS)
  exampleHandler() {
    ILogger.info(`exampleHandler triggered.`);
  }
}
